package com.zzz.web.service;

import com.zzz.web.Data.NewRssi;
import com.zzz.web.dao.NewRssiDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewRssiService {

    @Autowired
    private NewRssiDao newRssiDao;

    public void add(NewRssi newRssi){
        newRssiDao.add(newRssi);
    }

    public List<NewRssi> selectAll(){
      return newRssiDao.selectAll();
    }
}
